package com.itheima.test2;

public class TestInterface {
    public static void main(String[] args) {
        System.out.println(Inter.NUM);
        InterImpl inter = new InterImpl();
        inter.stody();
    }
}

class InterImpl implements Inter{
    public void method(){
        //NUM =20;
        System.out.println(NUM);
    }

    @Override
    public void stody() {
        System.out.println("抽象方法");
    }
}
